package com.cjz.component2.route;

import android.content.Context;
import android.content.Intent;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.cjz.component2.Component2Activity;

import com.cjz.common.router.ActivityProvider;
import com.cjz.common.router.RouterPath;

@Route(path = RouterPath.JUMP_TO_COMPONENT_2)
public class Component2Provider implements ActivityProvider {

    @Override
    public void init(Context context) {
    }

    @Override
    public void openActivity(Context context) {

        context.startActivity(new Intent(context, Component2Activity.class));
    }
}
